MATLAB/Simulink Platform

MATLAB/Simulink is a well known test execution platform. The test execution engine is implemented as an S-function in Simulink, see MATLAB/Simulink Platform - Connect the S-function. The S-function passes the values calculated by the system under test (SUT) to the TPT execution engine. For each time step, all outputs of the SUT are inputs to the TPT VM. Thus, all values that are needed for the test execution need to be declared as inputs in TPT and all TPT outputs are inputs into the SUT. The interface of the TPT S-function is defined by the channel declaration of the TPT testlet.

Internal MATLAB functions as well as functions from m-scripts can be called in the "Call function" step, see Step Type - Call Function.

Uint64 data types are not supported by TPT. Whenever using uint64 as data type with MATLAB, it will be imported to TPT as int64 and converted to uint64 when writing the data to MATLAB at runtime.